@charset "utf-8";
body{
    background-color: #eee;
}
/* 头部 */
header{
    width: 100%;
    background-color: #fff;
    margin-bottom: 150px;
}
header span{
    float: right;
    line-height: 60px;
    font-size: 14px;
}
header span a{
    color: #0af;
}
header img{
    margin-top: 18px;
}

/* 表单 */
form{
    background-color: #fff;
    padding: 100px 0 100px 350px;
    box-sizing: border-box;
}
form h2,form h3{
    font-weight: normal;
    font-size: 40px;
}
form h3{
    font-size: 26px;
    margin: 20px 0 10px;
}
form .title{
    background-color: orangered;
    color: #fff;
    line-height: 36px;
    padding-left: 50px;
    width: 500px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 30px;
}
form .title span{
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../images/reg-gift.png) no-repeat;
    background-position: 4px 12px;
    position: absolute;
    top: 50%;
    margin-top: -22px;
    left: 20px;  
}
form input,form button{
    width: 500px;
    height: 40px;
    border: 1px solid #999;
    outline: 0;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 2px 15px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0);
}
form .btn{
    width: 140px;
    position: absolute;
    right: 350px;
    top: 0;
    border-radius: 0 5px 5px 0;
    background-color: #ddd;

}
form .checkbox{
    width: 15px;
    vertical-align: middle;
    margin-bottom: 0;
    margin-right: 5px;
}
form .check-word span{
    display: inline-block;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
}
form .check-word a{
    color: #0af;
}
form .msg{
    position: relative;
}
.button{
    margin-top: 30px;
    border: 0;
    line-height: 50px;
    height: 50px;
    background-color: #ddd;
}
/* 提交按钮激活状态 */
.button.on{
    background-color: #0af;
    color: #fff;
}
/* 失去焦点提示信息 */
form .tips{
    display: inline-block;
    width: 230px;
    font-size: 12px;
    color: #f00;
    line-height: 24px;
    position: relative;
    padding-left: 20px;
    display: none;
}
form .tips span{
    position: absolute;
    top: 50%;
    margin-top: -12px;
    left: 0px;
    display: inline-block;
    text-indent: 999px;
    overflow: hidden;
    width: 20px;
    height: 20px;
    background: url(../images/loginIcon.png) no-repeat;
    background-position: -28px -32px;
}
form .input-box .eye{
    width: 20px;
    position: absolute;
    top: 10px;
    right: 380px;
    cursor: pointer;
    display: none;
}
/* .open{
    display: none;
} */
/* 清除输入内容小按钮 */
form .input-box{
    position: relative;
}
form .input-box strong{
    text-indent: 9999px;
    overflow: hidden;
    position: absolute;
    top: 11px;
    left: 475px;
    width: 20px;
    height: 20px;
    background: url(../images/clearInput.png) no-repeat;
    display: none;
}
form .msg strong{
    left: 337px;
}